//
//  Target_ManagerOrderRoute.m
//  TaoTuo
//
//  Created by admin on 2019/10/29.
//  Copyright © 2019 admin. All rights reserved.
//

#import "Target_ManagerOrderRoute.h"
#import "TTMyOrderViewController.h"

@implementation Target_ManagerOrderRoute

- (UIViewController *)Action_viewControllerWithParams:(NSDictionary *)params
{
    NSInteger index = [params[@"index"] integerValue];
    if (index > 4 || index < 0) {
        index = 4;
    }
    TTMyOrderViewController *orderVC = [[TTMyOrderViewController alloc] init];
    orderVC.defaultIndex = index;
    return orderVC;
}

@end
